import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { DandantangComponent } from 'src/modules/bvideo/dandantang/dandantang.component';
import { DanjiComponent } from 'src/modules/bvideo/danji/danji.component';
import { GongnueComponent } from 'src/modules/bvideo/gongnue/gongnue.component';
import { HomeComponent } from 'src/modules/bvideo/home/home.component';
import { KachiComponent } from 'src/modules/bvideo/kachi/kachi.component';
import { LuntanComponent } from 'src/modules/bvideo/luntan/luntan.component';
import { MaoxianpingjiaComponent } from 'src/modules/bvideo/maoxianpingjia/maoxianpingjia.component';
import { MaoxianwuyuComponent } from 'src/modules/bvideo/maoxianwuyu/maoxianwuyu.component';
import { WodeComponent } from 'src/modules/bvideo/wode/wode.component';
import { YouxiComponent } from 'src/modules/bvideo/youxi/youxi.component';
import { GametapitemComponent } from 'src/modules/bvideo/gametapitem/gametapitem.component';
import { GameTapEditComponent } from 'src/modules/bvideo/gametapedit/gametapedit.component';


const routes: Routes = [
  {path:'maoxianwuyu',component:MaoxianwuyuComponent},
  {path:'home',component:HomeComponent},
  {path:'maoxianpingjia',component:MaoxianpingjiaComponent},
  {path:'gongnue',component:GongnueComponent},
  {path:'luntan',component:LuntanComponent},
  {path:'kachi',component:KachiComponent},
  {path:'dandantang',component:DandantangComponent},
  {path:'danji',component:DanjiComponent},
  {path:'youxi',component:YouxiComponent},
  {path:'wode',component:WodeComponent},
  {path:'gametapitem',component:GametapitemComponent},
  {path:'gametapedit',component:GameTapEditComponent},
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
let bvideoRoute ={
  path: 'bvideo',
  loadChildren: () => import('../modules/bvideo/bvideo.module').then(m => m.BvideoModule)
}
routes.push(bvideoRoute)